//
//  ViewController.h
//  AdvertisementI
//
//  Created by mac on 16/5/19.
//  Copyright © 2016年 Apple inc. All rights reserved.
//



#import <UIKit/UIKit.h>

#define APP_DEF [NSUserDefaults standardUserDefaults]
#define TOKEN_KEY @"token"
#define TIME_KEY @"time_key"
#define USER_NAME @"userName"
#define BuleColor [UIColor colorWithRed:100/255.0 green:199/255.0 blue:250/255.0 alpha:1];
#define APP_WIN [UIApplication sharedApplication].keyWindow

#import "loginViewController.h"
#import "TechnicalViewController.h"
#import "SolutionViewController.h"
#import "FriendsViewController.h"
#import "PartsViewController.h"
#import "MeViewController.h"

@interface ViewController : UIViewController
{
    UINavigationController *_loginNav;
}
@property (nonatomic,copy)void (^complete)(BOOL success);


//@property (strong, nonatomic) UIWindow *window;

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

//- (void)saveContext;
//- (NSURL *)applicationDocumentsDirectory;
//...................

@property(nonatomic,strong)TechnicalViewController *technicalVC;
@property(nonatomic,strong)SolutionViewController *solutionVC;
@property(nonatomic,strong)FriendsViewController *friendVC;
@property(nonatomic,strong)PartsViewController *partsVC;
@property(nonatomic,strong)MeViewController *meVC;
//@property(nonatomic,strong)AlterInformationViewController *alterInfoVC;
//@property(nonatomic,strong)TableViewController *tableView;
//@property(nonatomic,strong)TableViewThreeController *tableThreeView;
//@property(nonatomic,strong)TableViewController *tableFourView;
//@property(nonatomic,strong)TableViewController *tableFiveView;
@property(nonatomic,strong)UIButton *loginButton;
@property(nonatomic,strong)UIButton *loginRegisterButton;
@property(nonatomic,strong)UIButton *forgetPasswordButton;
@property(nonatomic,strong)UIView *loginView;
@property(nonatomic,strong)UIView *registerView;
@property(nonatomic,strong)UIButton *registerButton;
@property(nonatomic,strong)UIAlertView *alertview;
@property(nonatomic,strong)UIImageView *imgview;
@property(nonatomic,strong)UIView *loginViewDH;
@property(nonatomic,strong)UIView *registerViewDH;




-(void)goToMainVC;
@end

